﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;

namespace CropImage.Controllers
{
    public class Coor
    {
        public decimal X1 { get; set; }
        public decimal Y1 { get; set; } 
        public decimal X2 { get; set; }

        public decimal Y2{ get; set; } 

        public decimal W { get; set; }
        public decimal H { get; set; }
    }
    public class CropController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }


        public JsonResult SaveImage(Coor coor)
        {
            return null;
        }
    }
}
